package com.guigu.base.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 车辆信息表
 * </p>
 *
 * @author TaoLong
 * @since 2021-11-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PdTruck对象", description="车辆信息表")
@TableName("pd_truck")
public class Truck implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "车辆类型id")
    private String truckTypeId;

    @ApiModelProperty(value = "所属车队id")
    private String fleetId;

    @ApiModelProperty(value = "品牌")
    private String brand;

    @ApiModelProperty(value = "车牌号码")
    private String licensePlate;

    @ApiModelProperty(value = "GPS设备id")
    private String deviceGpsId;

    @ApiModelProperty(value = "准载重量")
    private BigDecimal allowableLoad;

    @ApiModelProperty(value = "准载体积")
    private BigDecimal allowableVolume;

    @ApiModelProperty(value = "车辆行驶证信息id")
    private String truckLicenseId;

    @ApiModelProperty(value = "状态 0：禁用 1：正常")
    private Integer status;


}
